package com.cosina.game.robodefence.eventlistener;

import com.cosina.game.robodefence.R;
import com.cosina.game.robodefence.RoboDefenceActivity;

public class EventListenerReger {

	public static void doReg(int layoutResID,
			RoboDefenceActivity retroDefenceActivity) {
		switch (layoutResID) {
		case R.layout.main:
			MainPageEventListener.doReg(retroDefenceActivity);
			return ;
		case R.layout.achievements:
			AchievementPageEventListener.doReg(retroDefenceActivity);
			return ;
		case R.layout.spendreward:
			SpendreWardPageEventListener.doReg(retroDefenceActivity);
			return ;
		case R.layout.credits:
			CreditsPageEventListener.doReg(retroDefenceActivity);
			return ;
		case R.layout.level:
			LevelPageEventListener.doReg(retroDefenceActivity);
		}
	}

}
